package com.whoiszxl.cqrs.query;

import com.whoiszxl.core.annotation.Query;
import com.whoiszxl.core.entity.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springdoc.api.annotations.ParameterObject;

/**
 * 仓库SKU查询对象
 *
 * @author whoiszxl
 * @date 2021/7/19
 */
@Data
@ParameterObject
@Schema(description = "仓库SKU查询对象")
public class WarehouseSkuQuery extends PageQuery {

    @Schema(description = "货架ID")
    @Query
    private Long shelfId;

    @Schema(description = "商品SKU名称")
    @Query(blurry = "sku_name")
    private String skuName;

    @Schema(description = "商品SKU编号")
    @Query(blurry = "sku_code")
    private String skuCode;

}
